#if !defined(AFX_INDEXDLG_H__9AA03A0F_C73A_4196_BD21_342A8C833780__INCLUDED_)
#define AFX_INDEXDLG_H__9AA03A0F_C73A_4196_BD21_342A8C833780__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// IndexDlg.h : header file
//
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// CIndexDlg dialog

class CIndexDlg : public CDialogBar
{
// Construction
public:
	CIndexDlg(/*CWnd* pParent = NULL*/);   // standard constructor]

	BOOL OnCreate(CWnd* pParentWnd,UINT nIDTemplate,UINT nStyle,UINT nID);

	void SetMax(int num);
	int GetMax();
	void SetIndex(int num);
	int GetIndex();

// Dialog Data
	//{{AFX_DATA(CIndexDlg)
	enum { IDD = IDD_DLG_INDEX };
	CString	m_strMax;
	int		m_nIndex;
	//}}AFX_DATA
private:
	int m_nMax;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CIndexDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	afx_msg LONG OnInitDialog ( UINT, LONG ); 
	// Generated message map functions
	//{{AFX_MSG(CIndexDlg)
	afx_msg void OnBtnGo();
	afx_msg void OnUpdateEditIndex();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_INDEXDLG_H__9AA03A0F_C73A_4196_BD21_342A8C833780__INCLUDED_)
